package com.cykj.shop.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;
import java.sql.Timestamp;

/**
 * @author 叶佳伟
 * @date 2025/8/18
 * @description 功能描述: 接收前端的店铺条件
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShopVo {
    private Integer id;
    private Integer businessId;
    private String shopName;
    private String shopAddress;
    private Integer shopCategory;
    private String shopDescrible;
    private String shopAvatar;
    private String shopImage;
    private String shopLicense;
    private String foodSafe;
    private Integer shopStatus;
    private Integer updateStatus;//切换的状态
    private String shopStart;
    private String shopEnd;
    private double shopGrade;
    private double shopWithdrawMoney;
    private double shopIncome;
    private java.sql.Timestamp createTime;
    private double longitude;
    private double latitude;


    public ShopVo(Integer businessId, String shopName, String shopAddress, Integer shopCategory, String shopAvatar, String shopImage, String shopLicense, String foodSafe, String shopStart, String shopEnd) {

        this.businessId = businessId;
        this.shopName = shopName;
        this.shopAddress = shopAddress;
        this.shopCategory = shopCategory;
        this.shopAvatar = shopAvatar;
        this.shopImage = shopImage;
        this.shopLicense = shopLicense;
        this.foodSafe = foodSafe;
        this.shopStart = shopStart;
        this.shopEnd = shopEnd;
    }
}
